How can you tell if 2 terms are alike?

Which terms can be added?

What are the steps to adding polynomials?